package com.zjw.forum.utils;

import com.zjw.forum.model.Board;

import java.util.Comparator;

public class SortComparator implements Comparator<Board> {
    @Override
    public int compare(Board o1, Board o2) {
        return o1.getSort()-o2.getSort();
    }
}
